package decorator.share;

/**
 * FileName: ShapeDecorator
 * Author:   周壮
 * Date:     2020/3/9 21:43
 * Description:
 */
public abstract class ShapeDecorator implements Shape{

    protected Shape decoratedShape;

    public ShapeDecorator(Shape decoratedShape){
        this.decoratedShape = decoratedShape;
    }

    public void draw(){
        decoratedShape.draw();
    }
}
